<template>
  <!-- sc: security center -->
  <div class="scRestPassword">
    <assets-head :title="title"></assets-head>

    <div class="wrapper">
      <div class="flex">
        <van-icon name="arrow-left" />
        <div class="title">重設密碼</div>
        <div></div>
      </div>

      <div class="text-center">
        <img src="@/assets/image/security-img.png" alt="" />
      </div>

      <img class="sidebar-icon" src="@/assets/image/sidebar-icon.png" alt="" />

      <div class="p-15">用户名 6518539245227</div>

      <van-form>
        <van-field placeholder="旧密码" />
        <van-field placeholder="请输入密碼" />
        <van-field placeholder="請獲獎密碼" />
      </van-form>

      <van-button round block type="info">確定</van-button>
    </div>
  </div>
</template>

<script>
import assetsHead from "@/components/assets-head";

export default {
  name: "index",
  components: {
    assetsHead,
  },
  data() {
    return {
      title: "安全中心",
    };
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
.scRestPassword {
  width: 100%;
  height: 100%;

  ::v-deep #assetsHead .van-nav-bar {
    background-color: #000;

    .van-nav-bar__title,
    .van-nav-bar__arrow {
      color: white;
    }
  }

  .wrapper {
    padding: 50px;

    img {
      margin: 30px 0;
    }
    .p-15 {
      font-size: 26px;
      padding-left: 15px;
      color: #555;
    }
    ::v-deep .van-form {
      .van-field {
        border: 1px solid #ccc;
        height: 90px;
        line-height: 90px;
        border-radius: 45px;
        padding-left: 20px;
        margin-top: 30px;
      }
    }
    ::v-deep .van-button {
      background-color: #000;
      margin-top: 30px;
      font-size: 40px;
      border-color: #000;
    }

    .flex {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .title {
        font-size: 40px;
        font-weight: bold;
      }
    }

    .text-center {
      text-align: center;
    }

    .sidebar-icon {
      position: fixed;
      top: 40%;
      right: 30px;
    }
  }
}
</style>
